package com.gastronomy.entity;

import java.sql.Timestamp;
import java.util.Date;


public class User {


	private Integer userId; // 用户Id
	private String userName; // 用户名称,一旦创建，将不可修改
	private String password; // 用户密码
	private String email; // 用户邮箱
	private Timestamp createTime;// 申请时间
	private String nickName; // 昵称 ,商家名称
	private Role role; // 角色 

	private Integer integral ; //积分，消费所得

	private String weiXinCount;  //绑定的微信账号
	
	private String aliPayCount;  //绑定的支付宝账号
	
	private String address;   //地址
	  
	private String telPhone;   //电话
	
	private String workTime;   //工作时间
	
	private String topPic;  //商家图片
	
	private Integer userType ; //用户状态 0:冻结中，不允许登陆  1：正常
	
	
	public String getNickName() {
		return nickName;
	}

	
	public String getWeiXinCount() {
		return weiXinCount;
	}

	public void setWeiXinCount(String weiXinCount) {
		this.weiXinCount = weiXinCount;
	}

	public String getAliPayCount() {
		return aliPayCount;
	}

	public void setAliPayCount(String aliPayCount) {
		this.aliPayCount = aliPayCount;
	}

	public Integer getIntegral() {
		return integral;
	}

	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}


	public String getEmail() {
		return email;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public void setEmail(String email) {
		this.email = email;
	}

//	public void setCode(String code) {
//		this.code = code;
//	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}


	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTelPhone() {
		return telPhone;
	}

	public void setTelPhone(String telPhone) {
		this.telPhone = telPhone;
	}

	public String getWorkTime() {
		return workTime;
	}

	public void setWorkTime(String workTime) {
		this.workTime = workTime;
	}

	public String getTopPic() {
		return topPic;
	}

	public void setTopPic(String topPic) {
		this.topPic = topPic;
	}


	public Integer getUserType() {
		return userType;
	}


	public void setUserType(Integer userType) {
		this.userType = userType;
	}


	
}
